import cv2
import matplotlib.pyplot as plt

img = cv2.imread('test1.png')
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)


# img[-4:, -4:, :] = 0
# for idx in range(3):
#     avgCorner = (img[0, 0, idx] + img[0, 31, idx] + img[31, 0, idx] + img[31, 31, idx]) / 4
#     img[0, 0, idx] = avgCorner
#     img[0, 31, idx] = avgCorner
#     img[31, 0, idx] = avgCorner
#     img[31, 31, idx] = avgCorner


print(img)
print(img.shape)
plt.imshow(img)
plt.show()
